<?php
	
	$user = $_POST['name'];
	$pass =$_POST['passwd'];
	$data = array(
			"result"=>array("msg"=>"OK"),
			"success"=>true
			);
	if($user=='admin' && $pass=='12345')
	{
			$json = json_encode($data);
			echo $json;
	}
?>